/*
 * Copyright (c) 2006-2021, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2022-04-07     DRZZZ       the first version
 */
#ifndef APPLICATIONS_SR04_H_
#define APPLICATIONS_SR04_H_

#include "relay_management.h"

extern struct sr04_device *sr04_dev;

#define BOX1_MAX_LEVEL   13.5
#define BOX2_MAX_LEVEL   13.5
#define BOX3_MAX_LEVEL   13.5
#define BOX4_MAX_LEVEL   13.5

#define BOX1_IN_CONTROL   RELAY_PIN_3
#define BOX2_IN_CONTROL   RELAY_PIN_2
#define BOX3_IN_CONTROL   RELAY_PIN_1
#define BOX4_IN_CONTROL   RELAY_PIN_4

extern char  first_level_1,
             first_level_2,
             first_level_3,
             first_level_4,
              second_level;

#endif /* APPLICATIONS_SR04_H_ */
